package ahpu.piconet.service;

import java.util.Date;
import java.util.List;

import ahpu.piconet.domin.Data;

public interface DataService {
	
	public void saveData(float electricity,float voltage);
	
	
	public int findAllCount();
	
	public List<Data> findByLimit(int limit,int page);
	
	public Data findById(Integer id);
	
	List<Data> findByDate(String start, String end, int limit, int page);


	public int findCountByLimit(String start, String end);
	
	List<Data> queryExportedForestry(String[] ids);
}
